package com.cc.boot.quick;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

@SpringBootApplication
public class SpringbootQuickApplication {

    public static void main(String[] args) {

//        SpringApplicationBuilder builder = new
//                SpringApplicationBuilder(SpringbootQuickApplication.class) ;
//        builder.bannerMode(Banner.Mode.OFF).run (args) ;

        SpringApplicationBuilder builder = new SpringApplicationBuilder(SpringbootQuickApplication.class);
        builder.application().setAdditionalProfiles("prod");
        builder.run(args);
    }

}
